package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.template.TravelTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 猫教授
 * @date 2019/8/18 17:21
 */
@Repository
public interface TravelTemplateRepository extends ElasticsearchRepository<TravelTemplate,Long> {
    List<TravelTemplate> findByDestName(String keyword);

}
